﻿<%@ Page Title="" Language="C#" MasterPageFile="~/AdminCP/Layouts/Admin.Master" AutoEventWireup="true" CodeBehind="MyTask.aspx.cs" Inherits="MLM.AdminCP.Pages.MyTask" meta:resourcekey="PageResource1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    My Task Manager
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <telerik:RadGrid ID="RadMyTaskGrid" runat="server" AllowFilteringByColumn="True"
        DataSourceID="GroupMyTaskEds" AllowPaging="True" AllowSorting="True" AutoGenerateDeleteColumn="True"
        AutoGenerateEditColumn="True" GridLines="None" ShowGroupPanel="True" 
        AllowAutomaticInserts="True" AllowAutomaticUpdates="True" AllowAutomaticDeletes="True"
        ShowFooter="True" ShowStatusBar="True" 
        meta:resourcekey="RadMyTaskGridResource1">
        <ClientSettings AllowColumnsReorder="True" AllowDragToGroup="True">
            <Selecting AllowRowSelect="True" />
            <Scrolling AllowScroll="True" UseStaticHeaders="True" />
        </ClientSettings>
        <MasterTableView AutoGenerateColumns="False" DataKeyNames="CityID" DataSourceID="GroupMyTaskEds"
            ShowHeader="true" ShowHeadersWhenNoRecords="true" AllowAutomaticInserts="true"
            CommandItemDisplay="TopAndBottom">
            <%--<MasterTableView ShowFooter="false" DataKeyNames="ProductID" EditMode="InPlace" CommandItemDisplay="TopAndBottom">--%>
            <CommandItemSettings ShowAddNewRecordButton="true" ShowRefreshButton="true">
                <%--ExportToPdfText="Export to Pdf">--%></CommandItemSettings>
            <RowIndicatorColumn>
                <HeaderStyle Width="20px"></HeaderStyle>
            </RowIndicatorColumn>
            <ExpandCollapseColumn>
                <HeaderStyle Width="20px"></HeaderStyle>
            </ExpandCollapseColumn>
            <Columns>
                <telerik:GridBoundColumn DataField="CityID" DataType="System.Int64" HeaderText="CityID"
                    ReadOnly="True" SortExpression="CityID" UniqueName="CityID" HeaderStyle-Width="120px"
                    ItemStyle-Width="300px" meta:resourcekey="GridBoundColumnResource1">
<HeaderStyle Width="120px"></HeaderStyle>

<ItemStyle Width="300px"></ItemStyle>
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Name" HeaderText="Name" SortExpression="Name"
                    UniqueName="Name" HeaderStyle-Width="130px" ItemStyle-Width="300px" 
                    meta:resourcekey="GridBoundColumnResource2">
<HeaderStyle Width="130px"></HeaderStyle>

<ItemStyle Width="300px"></ItemStyle>
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="CountryID" HeaderText="CountryID" SortExpression="CountryID"
                    UniqueName="CountryID" HeaderStyle-Width="130px" ItemStyle-Width="300px" 
                    DataType="System.Int64" meta:resourcekey="GridBoundColumnResource3">
<HeaderStyle Width="130px"></HeaderStyle>

<ItemStyle Width="300px"></ItemStyle>
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="PostalCode" HeaderText="PostalCode" SortExpression="PostalCode"
                    UniqueName="PostalCode" HeaderStyle-Width="130px" ItemStyle-Width="300px" 
                    meta:resourcekey="GridBoundColumnResource4">
<HeaderStyle Width="130px"></HeaderStyle>

<ItemStyle Width="300px"></ItemStyle>
                </telerik:GridBoundColumn>
            </Columns>
        </MasterTableView>
        <HeaderContextMenu EnableImageSprites="True" CssClass="GridContextMenu GridContextMenu_Default">
        </HeaderContextMenu>
    </telerik:RadGrid>
    <asp:EntityDataSource ID="GroupMyTaskEds" runat="server" ConnectionString="name=MLMDataContext"
        DefaultContainerName="MLMDataContext" EnableDelete="True"
        EnableInsert="True" EnableUpdate="True" EntitySetName="MyTask">
    </asp:EntityDataSource>
</asp:Content>